package com.engine4cloud.tdf.education.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.engine4cloud.tdf.common.data.datascope.TdfBaseMapper;
import com.engine4cloud.tdf.education.dto.query.EduLearningRecordQueryDTO;
import com.engine4cloud.tdf.education.dto.result.EduLearningRecordResultDTO;
import com.engine4cloud.tdf.education.entity.EduLearningRecordEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface EduLearningRecordMapper extends TdfBaseMapper<EduLearningRecordEntity> {

    IPage<EduLearningRecordResultDTO> pageList(Page<EduLearningRecordEntity> page, @Param("dto") EduLearningRecordQueryDTO dto, @Param("deptIdList") List<Long> deptIdList);
}